obj-m := demo.o
KERNEL_BUILD_DIR ?= ~/workspace/n2n3/drivers/kernel/4.19.90-24.4.v2101.ky10.aarch64/
ccflags-y := -g -Wall -Wno-error=date-time -Wno-date-time
#ccflags-y := -g -Wall -DSMQ_TX_SIMULATE

all:modules

modules:
        $(MAKE) -C $(KERNEL_BUILD_DIR) M=$(shell pwd) $@
clean:
        $(MAKE) -C $(KERNEL_BUILD_DIR) M=$(shell pwd) $@